<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html>
<head>
<title>用户名列表</title>
<%@ include file="/WEB-INF/jsp/public/common.jspf" %>
</head>
<body>







<%-- <s:debug></s:debug> --%>
	<div class="container">
	<h1>用户个人信息展示</h1>
	<s:a cssClass="btn btn-primary" action="userAction_addUI">添加</s:a>
	<!-- 分页信息 -->
	<s:form id="pageform" action="userAction_list">
		<table class="table">

			<!-- 表头-->
			<thead>
				<tr>
					<td>用户名</td>
					<td>密码</td>
					<td>邮箱</td>
					<td>联系方式</td>
					<td>相关操作</td>
				</tr>
			</thead>

			<!--显示数据列表-->
			<tbody>
				<s:iterator value="recordList">
					<tr>
						<td>${username}</td>
						<td>${password}</td>
						<td>${email}</td>
						<td>${phone}</td>
						<td>
							<s:a action="userAction_delete?userId=%{id}" onclick="return confirm('您确定要删除么？')">删除</s:a>
							<s:a action="userAction_editUI?userId=%{id}">修改</s:a>
						</td>
					</tr>
				</s:iterator>
				<%@ include file="/WEB-INF/jsp/public/pageView.jspf" %>
			</tbody>
		</table>
		
		</s:form>
		<!-- 其他功能超链接 -->
		</div>
</body>
</html>
